package com.easy.dev.controller;

import com.easy.dev.annotation.SwaggerIgnore;
import com.easy.dev.bo.MethodEnum;
import com.easy.dev.entity.Log;
import com.easy.dev.service.impl.BaseServiceImpl;
import com.easy.dev.service.impl.LogServiceImpl;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.RequestMapping;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;

@Api(tags = "Log操作接口")
@RestController
@RequestMapping("/log")
@SwaggerIgnore(methodEnums = {MethodEnum.SAVE, MethodEnum.DELETEBYID, MethodEnum.DELETEBATCHIDS, MethodEnum.UPDATE})
public class LogController extends BaseController<Log> {

    @Autowired
    private LogServiceImpl logService;

    @Override
    BaseServiceImpl getService() {
        return logService;
    }



}